home *** CD-ROM | disk | FTP | other *** search
- Path: in2.uu.net!zdc!szdc!news
- From: braz@ime.usp.br (Rodrigo de Salvo Braz)
- Newsgroups: comp.lang.c++
- Subject: Re: Turbo C++ won't write 0Ah to file!?!?
- Date: Mon, 15 Apr 1996 17:05:28 GMT
- Organization: Zippo
- Message-ID: <4ku0vl$lg3@clark.zippo.com>
- References: <4jnpcg$nis@tribune.concentric.net>
- NNTP-Posting-Host: ddata116.dialdata.com.br
- X-Newsreader: Forte Free Agent 1.0.82
-
- mikolaj@concentric.com wrote:
-
- >Turbo C++ 3.0 won't write character 0Ah to a file, instead it writes 0Dh.
- >What's the problem? Is this a bug?
- >Thanks, Mike.
-
- If you are writing to a text file, maybe OAh (LF) is translated to
- CR+LF (ODh + OAh). Try opening the file as binary.
-
- Cheers,
- Rodrigo Braz
-
-
-